import Layout from '@/layout'

const clientManage = {
  path: '/clients-manage',
  component: Layout,
  redirect: '/clients-manage/public-pool',
  name: 'ManageClients',
  meta: { title: '团队客户管理', icon: 'clients-manage' },
  alwaysShow: true,
  children: [
    {
      path: 'public-pool',
      name: 'PublicPool',
      component: () => import('@/views/clients-manage/public-pool/PublicPool'),
      meta: { title: '公共池' },
    },
    {
      path: 'allocated',
      name: 'Allocated',
      component: () => import('@/views/clients-manage/allocated/Allocated'),
      meta: { title: '待分配' },
    },
    {
      path: 'all-clients',
      name: 'AllClients',
      component: () => import('@/views/clients-manage/all-clients/AllClients'),
      meta: { title: '全部客户' },
    },
    {
      path: 'team-complete_customer',
      name: 'teamCompleteCustomer',
      component: () => import('@/views/clients-manage/allCustomerComplete/index'),
      meta: { title: '团队成交客户' },
    },
    {
      path: 'all-lock',
      name: 'allLock',
      component: () => import('@/views/clients-manage/allLock'),
      meta: { title: '团队锁定客户' },
    },
    {
      path: 'all-sign',
      name: 'AllSign',
      component: () => import('@/views/clients-manage/all-sign/AllSign'),
      meta: { title: '全部签约' },
    },
    {
      path: 'allInto',
      name: 'allInto',
      component: () => import('@/views/clients-manage/allInto'),
      meta: { title: '全部进件客户(新)' },
    },
    {
      path: 'visit',
      name: 'visit',
      component: () => import('@/views/clients-manage/visit'),
      meta: { title: '上门客户' },
    },
    {
      path: 'deleted',
      name: 'deleted',
      component: () => import('@/views/clients-manage/deleted'),
      meta: { title: '已删除客户' },
    },
    {
      path: 'import-manage',
      name: 'ImportManage',
      component: () => import('@/views/finance/import-manage/ImportManage'),
      meta: { title: '进件管理' },
    },
    {
      path: 'appointment',
      name: 'appointment',
      component: () => import('@/views/clients-manage/appointment'),
      meta: { title: '预约记录' },
      hidden: true
    },
    {
      path: 'all-customer-team',
      name: 'all-customer-team',
      component: () => import('@/views/clients-manage/allCustomerTeam/index'),
      meta: { title: '全部客户' },
    },
  ],
}

export { clientManage }
